#ifndef _GAME_H_
#define _GAME_H_

#include "cocos2d.h"

USING_NS_CC;

struct GlobalData
{
};

struct SaveData
{
	unsigned short version;
};

class Game
{
public:
	static bool initialize();
	static void exit();

	static bool loadData();
	static bool saveData();
	static SaveData& getSaveData();
	static GlobalData& getGloabalData();

	static std::string queryString(const std::string& key);

private:
	static std::string _savePath;
	static SaveData _saveData;
	static GlobalData _globalData;
	static ValueMap _strings;

};

#endif // !_GAME_H_
